Skip to content

feat: Implement calendar repository#241

Open
kevinlee-06 wants to merge 6 commits intomainfrom
feat/calendar-repository
Open

feat: Implement calendar repository#241
kevinlee-06 wants to merge 6 commits intomainfrom
feat/calendar-repository

Conversation

@kevinlee-06
Copy link
Copy Markdown
Contributor

如題 CalendarRepository

  • Cache Optimization: Fetches the full academic year from the portal to prevent partial data gaps when switching months.
  • DB:
    • Added CalendarEvents table with non-nullable portalId.
    • Added calendarFetchedAt to Users table for cache management.
  • Utilities: Added getUser() helper to DatabaseActions.

@rileychh-dokploy-riley-ntut-npc
Copy link
Copy Markdown

rileychh-dokploy-riley-ntut-npc bot commented Mar 25, 2026

Dokploy Preview Deployment

Name Status Preview Updated (UTC)
API Docs ✅ Done Preview URL 2026-03-27T04:18:43.247Z

@github-actions
Copy link
Copy Markdown

github-actions bot commented Mar 25, 2026

PR Preview Builds

Build Number: 799
Commit: 247dc88
Message: refactor: extract calendar event query into helper, use batch inserts for network sync, and refine event deletion logic.

Deploy

  • Android (Firebase App Distribution)
  • iOS (TestFlight)

@kevinlee-06 kevinlee-06 force-pushed the feat/calendar-repository branch from 5ac816e to 720dcfa Compare March 25, 2026 03:01
@kevinlee-06 kevinlee-06 force-pushed the feat/calendar-repository branch from df902fb to af7bc68 Compare March 27, 2026 02:35
…At` as the authoritative source and update it per user.
… improve `wideEndDate` precision, and prevent accidental deletion with empty `portalIds`.
…and clarify field nullability in documentation
… for network sync, and refine event deletion logic.
@kevinlee-06 kevinlee-06 marked this pull request as ready for review March 27, 2026 04:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant